/** When your routing table is too long, you can split it into small modules**/

import Layout from '@/views/layout/Layout'

const statisticsRouter = {
  path: '/statistics',
  component: Layout,
  alwaysShow: true, // will always show the root menu
  meta: {
    title: '数据统计',
    icon: 'message'
  },
  children: [
    {
      path: 'page',
      component: () => import('@/views/permission/manager'),
      name: 'statisticsPage',
      meta: {
        title: '订单统计'
      }
    },
    {
      path: 'page',
      component: () => import('@/views/permission/manager'),
      name: 'statisticsPage',
      meta: {
        title: '商户统计'
      }
    },
    {
      path: 'page',
      component: () => import('@/views/permission/manager'),
      name: 'statisticsPage',
      meta: {
        title: '渠道统计'
      }
    }
  ]
}

export default statisticsRouter
